package us.nchu.onlineJudger.factory;

import us.nchu.onlineJudger.bean.AbstractJudger;
import us.nchu.onlineJudger.bean.CPlusJudger;
import us.nchu.onlineJudger.bean.MqMessage;

public class CPlusFactory extends AbstractFactory {
    @Override
    public AbstractJudger getInstance() {

        return new CPlusJudger();
    }

    public AbstractJudger getInstance(MqMessage message) {

        return new CPlusJudger(message);
    }
}
